Sort data on 2 attributes

I have a view of a module in which I've sorted the data on one of the attributes.  However, I have now found that I would also like to sort this data on another attribute to further sort it.  Is this possible?

Here's what I'm doing:  I have created a view that displays only safety-related requirements.  The requirements have a "Requirement Number" attribute value with an "s" at the end.  I've filtered this list to only include those which have another attribute set to either "New" or "Modified" then sorted the resulting list on the Requirement Number.  The issue I'm trying to solve is that the New and Modified requirements need to be grouped together so that I can print out all of the Modified safety requirements followed by all the New ones.  So, that means that, as far as I can tell, I need to sort the data on the New/Modified attribute.  I am then using Rational Publishing Engine to print out this table.

 

Chris


Christopher Cote - Fri Sep 27 11:40:26 EDT 2019

Re: Sort data on 2 attributes
Don Fowler - Fri Sep 27 14:21:06 EDT 2019

No, there is not a way to do that exact thing. I think what would make a lot more sense is a complex filter.

(I've been using DOORS for 20 years now and have maybe used sort 3 times, but anyway...)

Either go to Tools>Filter>Define... (or click the Filter Properties icon)

now you can select the attribute(in this case,Requirement Number);  the condition you want to apply to it, - contains; Value: s

At this point, you can press Apply or OK and just see the safety requirements. you can now do your sort, if you want, on the New/Modified, or continue with the filter thus:

Press the Advanced button at the bottom (It should now show any Filter that is currently applied) (press the Add to get the filter into the rules space) then, Drop down to the attribute that has the New/Modified in it ( I will assume in this case that that attribute is made up of New; Modified; and  Existing); condition: is not equal to and Value: Existing.

Press Add now there are two filters select them both and click And then select the resulting complex filter at the top and click Apply.

Now you have a filtered view of all the safety requirements which were changed.

Hope this is helpful

Don

you can now print this out and they will still be in context (sorted by Object Number) but will be only the safety ones that changed.